package com.ccsoft.atools.service;

import com.ccsoft.atools.dao.Vue3goodsMapper;
import com.ccsoft.atools.model.Vue3goods;
import com.ccsoft.atools.model.Vue3goodsPageParam;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class Vue3goodsServiceImpl implements Vue3goodsService {
    @Autowired
    private Vue3goodsMapper dao;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return dao.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(Vue3goods record) {
        return dao.insert(record);
    }

    @Override
    public int insertSelective(Vue3goods record) {
        return dao.insertSelective(record);
    }

    @Override
    public Vue3goods selectByPrimaryKey(Integer id) {
        return dao.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(Vue3goods record) {
        return dao.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(Vue3goods record) {
        return dao.updateByPrimaryKey(record);
    }

    @Override
    public List<Vue3goods> selectAll() {
        return dao.selectAll();
    }

    @Override
    public List<Vue3goods> selectByParamLike(Vue3goodsPageParam record) {
        return dao.selectByParamLike(record);
    }
}
